﻿Imports DAO
Imports DTO
Public Class NhaXuatBanBUS
    Public Shared Function DanhSach_nxb_DAO() As List(Of NhaXuatBanDTO)
        Return NhaXuatBanDAO.DanhSach_nhaxb_DAO("select * from NhaXB")
    End Function

    Public Shared Function Them_Loai_BUS(ByVal nxb As NhaXuatBanDTO) As String
        Return NhaXuatBanDAO.Them_Loai_DAO(nxb)
    End Function
    Public Shared Function Sua_Loai_BUS(ByVal nxb As NhaXuatBanDTO, ByVal MaCu As String) As String
        Return NhaXuatBanDAO.Sua_Loai_DAO(nxb, MaCu)
    End Function
    Public Shared Function Xoa_Loai_BUS(ByVal nxb As NhaXuatBanDTO) As String
        Return NhaXuatBanDAO.Xoa_Loai_DAO(nxb)
    End Function
End Class
